package com.lablzh.gdxy.repository;

import com.lablzh.gdxy.entity.Admin;
import com.lablzh.gdxy.entity.BonusProject;
import com.lablzh.gdxy.entity.PushfreeProject;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BonusProjectRepository extends JpaRepository<BonusProject, Integer> {

    void deleteById(int id);

    BonusProject findById(int id);

    List<BonusProject> findAllByStuCode(String StudentCode, Sort sort);
    List<BonusProject> findAllByAudit(String audit,Sort sort);
}
